package com.ruixin.config;

/**
 * 常量类
 */
public interface BeanConstant {

    /************************************配置文件的Key***************************************/
    //基础包
    String KEY_PACKAGES = "bean.packages";

    String KEY_MVC_SERVER_NAME = "server.name";
    String KEY_MVC_HOST = "server.host";
    String KEY_MVC_PORT = "server.port";
    String KEY_MVC_CONTEXTPATH = "server.contextPath";
    String KEY_MVC_STATICPATHPATTERN = "server.static-path-pattern";
    String KEY_MVC_VIEW_PREFIX = "server.view.prefix";
    String KEY_MVC_VIEW_SUBFIX = "server.view.subfix";
    /************************************默认值*********************************************/
    //默认加载的配置文件
    String DEFAULT_CONFIGFILE = "ruixin.properties";
    //默认需要扫描的包
    String DEFAULT_PACKAGE = "com.ruixin";
    //默认host
    String DEFAULT_HOST = "localhost";
    //默认端口
    String DEFAULT_PORT = "8080";
    /************************************常量********************************************/
    String STR_BANNER = "banner.txt";
    String STR_REDIRECT = "redirect:";
    /************************************系统默认BeanName********************************************/
    String NAME_WebConfiguration = "webConfiguration";
    String NAME_Environment = "environment";
    String NAME_DataSource = "dataSource";
}
